package config

type NacosConfig struct {
	Host      string
	Port      int
	Namespace string
	User      string
	Password  string
	Dataid    string
	Group     string
}
type ServerConfig struct {
	Name         string         `json:"name"`
	Port         int            `json:"port"`
	GoodsSrvInfo GoodsSrvConfig `json:"goods_srv"`
	Consul       ConsulConfig   `json:"consul"`
	JWT          JWTConfig      `json:"jwt"`
	Jarger       JargerConfig   `json:"jarger"`
}
type GoodsSrvConfig struct {
	Name string `json:"name"`
}
type ConsulConfig struct {
	Host string `json:"host"`
	Port int    `json:"port"`
}
type JWTConfig struct {
	SigningKey string `json:"key"`
}
type JargerConfig struct {
	Host string `json:"host"`
	Port int    `json:"port"`
	Name string `json:"name"`
}
